package com.xx.job.service.system;

import com.xx.job.controller.dto.PageDTO;
import com.xx.job.entity.system.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liangcy
 * @since 2021-01-14
 */
public interface SysRoleService extends IService<SysRole> {

    SysRole selectByPrimaryKey(Long id);

    List<SysRole> sysRoleList();

    Map<String,Object> sysRoleList(PageDTO pageDTO, SysRole sysRole);

    int add(SysRole sysRole);

    int deleteBatchIds(List<Long> id);

    int update(SysRole sysRole);

    SysRole select(Long id);

    Object roleDataScope(SysRole sysRole);
}
